package com.liveinstars.quhui.business.appconfig.repository.mapper;

import com.liveinstars.quhui.business.appconfig.repository.po.AppVersion;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author ting
 * @since 2020-10-27
 */
public interface AppVersionMapper extends BaseMapper<AppVersion> {

    List<AppVersion> findLastVersion(String appType, String appCode);

    List<AppVersion> findForceUpdateVersion(String appType, String appCode);

    List<AppVersion> findNowVersion(String version, String appType, String appCode);
}
